Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update IdentityController.cs #27

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mistermik
Copy link

replace client_id with 1950a258-227b-4e31-a9cf-717495945fc2 which is the well-known client ID for Azure PowerShell App, so that we do not have to create a new application registration in AzureAD to leverage the ROPC grant flow.
This will make this code to work seamless as, in the documentation is not even mentioned the need to register an application to use the ROPC flow.
The use of such AppId is also suggested in others samples as-well, for example: https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-rest-api-use?view=azs-2102

replace client_id with 1950a258-227b-4e31-a9cf-717495945fc2 which is the well-known client ID for Azure PowerShell App, so that we do not have to create a new application registration in AzureAD to leverage the ROPC grant flow.
This will make this code to work seamless as, in the documentation is not even mentioned the need to register an application to use the ROPC flow.
The use of such AppId is also suggested in others samples as-well, for example: https://docs.microsoft.com/en-us/azure-stack/user/azure-stack-rest-api-use?view=azs-2102
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant